cURL
curl --request PUT \ --url http:///%7B{baseurl}%7D/api/v1/client/{environmentId}/contacts/{userId}/attributes \ --header 'Content-Type: application/json' \ --data '{ "attributes": { "Created From": "API" } }'
200
example-0
{ "data": { "changed": true, "message": "The person was successfully updated." }}
Update a contact’s attributes in Formbricks to keep them in sync with your app or when you want to set a custom attribute in Formbricks.
OK
The response is of type object.
object
Was this page helpful?